package com.ktwlrj.securitycenter.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktwlrj.core.base.SuperMapper;
import com.ktwlrj.securitycenter.controller.args.SafeTriggerLogPageArgs;
import com.ktwlrj.securitycenter.dto.SafeTriggerLogPageDto;
import com.ktwlrj.securitycenter.entity.SafeTriggerLogEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 触发日志持久层
 *
 * @author code generation
 * @date 2020-02-24 18:15:41
 * @since JDK1.8
 */
@Repository
public interface SafeTriggerLogMapper extends SuperMapper<SafeTriggerLogEntity>{
   /**
     * 分页查询
     *
     * @param args ${@link SafeTriggerLogPageArgs}
     * @param page  ${@link Page}
     * @return IPage<SafeTriggerLogPageDto> ${@link IPage<SafeTriggerLogPageDto>}
     * @author code generation
     * @date 2020-02-24 18:15:41
     */
    IPage<SafeTriggerLogPageDto> page(Page page, @Param("query") SafeTriggerLogPageArgs args);
}